package com.mujin.keji.collectionsystem.module.mypager.repository;

import android.arch.lifecycle.LiveData;

import com.mujin.keji.collectionsystem.base.BaseDto;
import com.mujin.keji.collectionsystem.base.CommonRepository;
import com.mujin.keji.collectionsystem.http.Api;
import com.mujin.keji.collectionsystem.module.mypager.dto.UserInfoDto;
import com.mujin.keji.collectionsystem.module.mypager.vo.UserInfoVo;

/**
 * 修改用户Repository
 *
 * @author weishixiong
 * @Time 2018-05-9
 */
public class UserInfoRepository extends CommonRepository<UserInfoDto> implements IUserInfoRepository {
    @Override
    public LiveData<BaseDto<UserInfoDto>> queryUserInfo(UserInfoVo vo) {
        return request(Api.queryUserInfo(vo)).send().get();
    }
}
